package com.heima.article.listener;

import org.apache.kafka.streams.kstream.KStream;
import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;

/**
 * 处理器接口：指定源头话题，目标话题
 */
public interface IHotArticleProcessor {

    @Input("hot_article_score_topic")
    public KStream<String, String> input();

    @Output("hot_article_result_topic")
    public KStream<String, String> output();
}
